libs="kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib"
cppobjs=allinall_datatype.obj allinall_object.obj allinall_shader.obj
cobjs=glad.obj
goalobjs=allinall.obj
allinall:$(addprefix cppobj/,allinall.obj $(cppobjs)) $(addprefix cobj/,$(cobjs))
	@cl /MT /EHsc /nologo $^ $(libs)
$(addprefix cppobj/,allinall.obj):allinall.cpp
	@cl /c /MT /EHsc /nologo /Fo:cppobj/ $<
$(addprefix cppobj/,$(cppobjs)):cppobj/%.obj:%.cpp include/%.hpp
	@cl /c /MT /EHsc /nologo /Fo:cppobj/ $<
$(addprefix cobj/,$(cobjs)):cobj/%.obj:%.c
	@cl /c /MT /EHsc /nologo /Fo:cobj/ $<
build:
	mkdir cppobj cobj